package com.cadre.system.service.impl;

import com.cadre.system.domain.officer.Tree;
import com.cadre.system.mapper.B01Mapper;
import com.cadre.system.service.TreeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TreeServiceImpl implements TreeService {
    @Autowired
    B01Mapper b01Mp;

    @Override // com.tdqy.cadre.modular.profess.service.TreeService
    public List<Tree> treeInit() {
        return this.b01Mp.treeInit();
    }

    @Override // com.tdqy.cadre.modular.profess.service.TreeService
    public List<Tree> treeInitByRole(Long roleId) {
        return this.b01Mp.treeInitByRole(roleId);
    }

    @Override // com.tdqy.cadre.modular.profess.service.TreeService
    public List<Tree> treeInitByUser(String userId) {
        return this.b01Mp.treeInitByUser(userId);
    }

    @Override // com.tdqy.cadre.modular.profess.service.TreeService
    public List<Tree> treeInitByPdacode() {
        return this.b01Mp.treeInitByPdacode();
    }

    @Override // com.tdqy.cadre.modular.profess.service.TreeService
    public List<Tree> treeInitForPdacodeOrder() {
        return this.b01Mp.treeInitForPdacodeOrder();
    }
}
